spanGroup makes it easier to filter elements by group properties
2.4: Fix: missing parenthesis caused main function not to be emitted.