Fixing references, renaming destroys to terminates to be in line with api docs