adjusts engine to call class level methods (rails 4.1 issue)