2d.canvas.context.type.extend
Interface methods can be added
Defined in "Web IDL" (draft)