Using old style for constructor definition is not working with namespaces