Deleted dead code from main controllers