Small fixes for warnings in 24.3

Just fixes a few small things and adds Chef to modeline