Some incomplete work on foreign function interface.