Add search_constructor func.
Remove .format in out.