Another attempt to minimize ActiveSupport dependencies