Allow nodes to extend modules

This will allow doing `node.on_boolean { }` at some point