Implemented pattern parameters and styleModifier. Closes #10