Fix warnings here and there.