Migrating more ORM methods [ci skip]