Added wrapper get methods. Removed an unnecessary method in FieldPair.
Added a type of exception.