added support for custom registered extensions