Removed http dependency from controllers.