Refactoring. List type helper