Add handlers for AppKit

This patch requires the tools update to generate the correct types.