Implement DROP TEMPLATE FOR EXTENSION.