Why not have an explicit mapping of classes instead of globals()?

Is this the appropriate semantics of ResourceNotFound?