Added provisional code for item definition and namespaces.