feat(injector): improve public API for disabling automatic function annotation

This patch adjusts the public API as discussed, by moving it into bootstrap, rather than at
the module definition level.