Refactor method name 'all' to 'names'