Added default size 1000 and a setter for it to getAll.