Changed plugin pointer type