Moved parser and node_list creation into new set_source method, and removed unused listeners property.