Shut up some runtime warnings