Remove extraneous declarations.