Add open/close primitves. Fix implicit anonymous object creation