Needs to handle checkForChanges being undefined as well as a boolean.