Moved constants to contract class.