fix constructors for chrome idl model