Allow use of types other than strings for base path variable.