Add wrapper for deleteObject