Fixed minor compiler warnings.