Move default context to the client. Remove environmentName special case.