Discard product functionality added.