Adds keyboard class