These lines are for checking extraKeys' existence before assigning "Ctrl-P" property to it. Please put them into another commit.