Remove extraneous code