moved destroy: into common prototype to reduce duplication

DRY-ing. /cc @vcekov @jish