Improve error message when navigation methods are undefined