Removes weird code.