Fixed destroy method - was calling destroy on plugins instead of detach so wasn't cleaning up properly