Equals without generics

I removed generics from equality check methods.