Added MAX_AMOUNT constant.