Use int instead of boolean for function keys class