Remove unnecessary information.