Switch to attr_reader so we don't depend directly on an instance var.

The attr_reader is public because I think the caller can ask for the
input it sent in the initializer.