Added navigation tree functions. Renamed content_functions to functions.