Add constructor return for advanced plugins