Switch IO::Prompter::Result attributes to be public, so they can be initialized using named arguments in new.