Add ability to extend engine semi-hackishly.