Added avatar API support