Added subclass snippet
Merge pull request #155 from mattschofield/master

Added subclass snippet