If you REALLY want to create an interface with iterators, define `cons_iterator` type in this class, `cons_iterator begin() const`, and `const_iterator end() const` methods to allow users to write `for (auto e : loader)` instead of some ugly loops.