Got rid of warnings in PlayerUtil.