Remove unnecessary handle.