Remove extraneous declarations