A base class to make unmodifiable data objects