Start cleaning up setMetadata(String, String):  use constants.