Move set_conditions into base controller
Remove unused method