Adds the object destruction pipeline