Fixes for toString() for lists and result types.