Integrated new API system into plugin.