Fix misc unused warnings.