Add to API and use KeyMatcher to map listeners.