Remove obsolete callback definitions.