InstanceProvider and TypeAdapter annotations.