Add support for ActiveRecords