Change reader method search_type to attr_reader