capsule._type becomes capsule.$$type