Added boilerplate for reduceEveryX elements

Pull requests are welcome, as always