Implement list() method