Added thread entity.