implement minimal support for interop