remove unnecessary statement and fix FakeClassType's equality method so it is equal to itself