dag: Add missing 'self' argument to method