Add checkers for methods that pass by reference

Any method that takes reference has the capability of updating the field