Added support for equals().
Added support for toString().