Moved some classes into an extensibility assembly. Can now write code plugins that get auto-triggered.