Fix UnsupportedOperationException in Identity.activateProperties()