Reworked plugin initialization to go with the new design. Should be a whole lot simpler.