Added missing declare_namespace calls