Implement the 'all' method