Creating plugin as plugin