Remove unused code
Compare expression using static methods for equal, not equal