Added infrastructure for native extension support.