Removing extraneous items