Made sure to explicitly call destructors.