Removing excess encodings.