Support basepath.