adding non-api setter for deserialization purposes