Fix most of the warnings introduced in `master`.