work on proxies. apiInterface replaces templatedProxy.
providers now provide an expected interface.