Add custom ActiveRecord class