Using reflection to import lib functions. Next step: Use StringTemplate
to generate lib functions.