Merge #extends into hash before #node etc. to allow the former to be overridden.
Merge pull request #3 from DouweM/master

Merge #extends into hash before #node etc. to allow the former to be overridden.