Add procedure use table API.

Signed-off-by: Wu Long <wulong@comp.nus.edu.sg>