allows overriding resolver class in controllers