Add KeyRequest class