Understand method injection in controllers for better dependency management.