Add documentation example for optional namespaces

Related to #27