Prettify ugly tuple code. Thanks @ornicar