Refactored ApplyController.handle()