Get rid of warnings about unsafe variables