DynamoRefactor: changed directive to be passed an object (hash).
It uses the hash in a consistent/more readable way to pass the link and id of the paper.