Renamed getExtension into getComponent