Added getServiceManager method to AbstractController.