Deal with sloppy typing