Making navigation items polymorphic types. Fixes #77.