Make native DOM API chainable.