Changing getCateroies in Request class to return a copy of original
list.