Remove extraneous information