examples from a couple foreign function interface utilities.