Simplifying controller and service declarations