Removing metadata from instruction

Hi,

I want to remove metadata from an instruction. Is there any way doing this in my pass?

Regards,
Kyriakos

The Instruction class has this method:

  /// setMetadata - Set the metadata of the specified kind to the specified
  /// node. This updates/replaces metadata if already present, or removes
it if
  /// Node is null.
  void setMetadata(unsigned KindID, MDNode *Node);
  void setMetadata(StringRef Kind, MDNode *Node);

Eli