Support multiple $refs in sequence