Adding task struct plugin