Making the JavaScript generator aware of the first type that an element can be bound to.