Adds onEntityDestroyed() and onHangingEntityDestroyed().