Implemented NavUtils functionality.