Automatically set 'dest' as parameter if it's defined