Clean up unnecessary code.