Prevent callbacks from being overwritten by other resources. Throw an immediate error if the callback does not exist.