FFI ops, etc

Added the gen functions for the FFI ops re issue #37