Fixed init plugin, broken for standalone modules after the introduction of the domain plugin