Remove excess whitespace from annotations.