Add a keyboard class.