Added invalid amount constant.
Simplification of decorator and implementation of order utils.