fix(types): ArrayList is a class while Collection is an Interface