Add TH functions which defines SQLs.
Update export list.
Update exposed module list.
Update other modules list.