Implement BeforeSave commands