Moved functionality from hash() to __call__().