References are made only when needed.
Clone
Merge pull request #34 from cleandart/refactorRef

Refactor ref