Added code for SLDestroy. Will build to test.