Changed plugin to be more like a plugin and removed initialize method