Fix unused var warnings.