Removed the assertions called in destructors.
Assertions will called explicitly by users.
This change is not compatible with the previous releases.