Pass stylesheet into groups rather than generator