Fix variable name
Check model payload type
Add required flag in transform class and fix internal usage
Mark column and foreign key attributes as writables