Sorry, I hadn't seen this function returns a list in the other branch.

Can you document the return type though?