Enable some warnings and fix them.