Allow deep inheritance of ActiveRecord::Base.