Add plugins on the fly

Adds `plugins.addPlugin` for dynamic plugin insertion on runtime.

Addendum to #373