Try to appease Valgrind memory checks.