add extension module prototype