Couple small fixes to remove warnings.