foo = script("MyClass").new() foo.doubleAndPrint() -- 46