Add destroy method to AdapterFactory