Added batch support. Fixed bug with order of modifiers. Other tweaks.