Added method to support PUT metadata in addition to POST (they do the
same thing currently).