Remove reference to Application from controller