Added key listeners.