Add DummyObject class for use in tests.
Add getAt(int) method to support list-style indexing.
Combine all constructors into a single one that covers more cases, more robustly.
Simplify initialization of headers.