Moved trace API from pfs project.