Fix unused variable compiler warnings.