Only attempt to replace the body if there is one.