Removed deprecated pass by reference, close #100