Add constructor to module export