Added support for deleting object instances