Don't shadow "destroy" method.

Fixes #11135.