Base plugin construction