What is the contract if basePath==null?