Add documentation to createOrSave.