add extension and handler support

untested