these methods/types are only implemented in the web Runtime, so they're optional but must be included in the interface
@override external Document getDocument();