CUserIdentity/CWebUser's SetState functionality is missing ?

New Yii2’s [font=“Courier New”]yii/web/User[/font] definitely lacks support of set/get state functionality. How do you manage to store custom user attributes in context of [font=“Courier New”]Yii::$app->user[/font]? It seems the only way here is to override [font=“Courier New”]yii/web/User::login()[/font]?