Automatically synthesize the controller 'needs' dependencies