Don't add class to child nodes

Fixes #9