Added Automatic serialization for functions to fayToJs in the runtime.