Add constructor to override example