Proper base path functionality.