Drop dependency on activerecord.