Enabling getExtension and getSupportedExtensions.
Merge branch 'getExtension'