<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def model_alias(vk, model):
 """Fill the model with alias since V1"""

    model['alias'] = {}

    # types
    for s in vk['registry']['types']['type']:
        if s.get('@category', None) == 'handle' and s.get('@alias'):
            model['alias'][s['@alias']] = s['@name'] 
              
    # commands
    for c in vk['registry']['commands']['command']:
        if c.get('@alias'):
            model['alias'][c['@alias']] = c['@name']