Added more code for the getList-method.