NPAPI extensions for colony gateway