Add code to process Piglit's api files