Avoid various warnings