Add attr_reader for stdout