Clean up unneeded code.