Implement validate_on_save decorator and its specs