Runtime, HTML4: Add removeInstance and removeAllInstances methods to the shim (required for proper destruction).