Add get reference method to dao