Adds comments for key binding logic.