Decouple settings implementation from admin controller.