Remove unneeded alter and callback.