'Prepares the property values.'

def _prepare_properties(self, props):

    if (self.NAME in props):
        props['name'] = self._ngt_name(props[self.NAME])
    if (self.FLAVOR in props):
        props['flavor_id'] = props.pop(self.FLAVOR)
    return props
