Support for Applet, Canvas, InputHandler, and State classes.