Add method 'product' and 'equal'.