Adds support for extensions