For geting back your codes from an dump, you can use print_code function for this.

upsonic.print_code("math.sum")
def sum(a, b):
    return a + b