Implement getall method