Remove unneeded enters.