Added validation in Product.