Changed int parameters to Integer.