Added type testing and placeholder for FFI runtime library