Added setMetadataBulk() interface and implementation