Improving keyboard API.