Improved metadata commands.

Removed duplicate entries.