add class_methods support

`ClassMethods` from `ActiveSupport::Concern` was not supported in a way that felt natural, so I added `class_methods`.