Add Key class.