BaseEntity: Support returning a collection, wrapped into read-only variant