Pattern base class
Merge pull request #1 from Maroslav/master

Pattern base class