Correct argument name of domain and code
Document format strings in a manner Clang is happy with