Adds support for destroy() methods