Don't do anything if there is no onsync function.