Added type arguments to arraylist