Add Profiles support to NamespaceHandler
Clarify strings and quotes handling