Is there a more elegant way to declare these namespaces? Can we use a helper or something?