Class cleanup.