Implementation of IList and ISet interfaces in IListWithHash (closes #43).