Fixing warning about missin hashCode function.
Code style.