Added new methods to D1Group: getAllElements, hasElement, and getSize
Added new method to D1Set: getSize
Renamed some methods