Change strong typed integer API parameters to int