Support of setting key and value types