Handling destination passed as an object