Fix issue #182 : add  visibility controlled handler registry

fix for issue #182