Check extension.