Added NUM_BUTTONS constant.