Are you sure the call to getNamespace() is needed?