Extract ActiveSupport methods to their own class