Fix bug with dependent plugin loading.
Prevent plugins getting initialized twice.