Modify spec of validate_on_save decorator