Namespaced types: fix build for 17.0