Handle all extension types. Rid code of warnings.