Made beforeSave call compatible on Record