Added attr_reader to type data attributes