(#16) Make reference method not case sensitive