Correctly initialize loaded plugins