Add separate functions file for navigation.