Impl basic before_save and before_create attributes