This method does not make sense now, remove it and use just Event.getTypeInt anywhere