Avoid corrupting metadata.