Make fields parameters.

Could be exposed as config in the GUI at some point...
Merge pull request #37 from adam-vessey/7.x

Make fields parameters.