[MAINT] Reduce compiler warnings.

As the title says.