Add preliminary support for keyboard layout APIs.