Migrating changes from acts_as to class for compatiablity with ActiveRecords