Should probably assert the instance type (ClientBuilder) instead of just checking that is not null.