* Fixed RPC context problem due to missing constructor
* Avoid JS error
* Organize RPC context