Clean up uneeded code.