WIP: Fix almost all warnings.