Inversion of Control with plugins?