Added a deleteMetadata function to Device.
Merge branch 'chenxi'