Implement renamed_from for classes (broken in SQLite/Pg due to SQLT)