Add ActiveRecord class