Dependencies were added to controller class