Allows disabling cost by setting amount to 0.