def massage_verb_code(code):
    """
    Take a given piece of verb code and wrap it in a function.
    
    This allows support of 'return' within verbs, and for verbs to return values.
    """
    code = code.replace('\r\n', '\n')
    code = code.replace('\n\r', '\n')
    code = code.replace('\r', '\n')
    code = '\n'.join(
        ['def verb():'] +
        ['\t' + x for x in code.split('\n') if x.strip()] +
        ['returnValue = verb()']
    )
    return code