Update code to standards of Minetest 0.4.8.