Added optional_reader generator