[PAXCDI-112] removed dead code
[PAXCDI-112] prototype scope