Clean up extraneous code.