Implementing GUI class hierarchy in native code.