Added a type check for Constant.List object.