Refactored RPC mechanism from web.core into rpc, where it should have been in the first place. Feels better.