This can just be `attr_reader` instead.