Clean some unneeded code.