Added ability to call server methods with yield