Cleanup code standardize callbacks.