Move original logic into utils. Allow dest option to return falsy and not be used.