Rename views basePath to relativeTo. Closes #2091