Pre- and post-compile hooks in custom node types: https://github.com/xeolabs/scenejs/issues/260