Modified key type into integer.
Signed-off-by: Laura Vasiliu <laura@laura.(none)>