new npapi structure