Changed introspect_interface to not have shared state