Added group, groupCollapsed and groupEnd methods