This method could probably be removed entirely.  The only reason it's in the Java template is for backwards compatibility with <= 2012-06, as this is one of the minimum required metadata fields.