The method needs to be simplified because it returns multiple types.
The method needs to be simplified because it returns multiple types.