Added missing InvalidModelException and NullValueException classes.