Simplifying controller and service eclarations