quips: use newObject/deleteObject

Amended-by: C. Scott Ananian <cscott@cscott.net>
Change-Id: Id9c3293d0048edef0cb4e00bbbdc76614f9d7a12