Added extra format checking for printf style functions