Added Bug.fields functionality.