Revert __getitems__ to previous impl
Implement _flatten_ns for Entity