add missing "format" function attributes