Revision 3

Added setFields method.