Added plugin function buildPreProcess.
Merge pull request #60 from fredrikeldh/master

Added plugin function buildPreProcess.