Add constructor so skeleton can pass memory