Added auto-registration of local and remote method proxies.