Make fields parameters.

Could be exposed as config in the GUI at some point...