Added thread to collection definition.