The two warnings are also probably not necessary, one would probably be fine.