Fixed some style issues on mapreduce

'To make use of the full potential of the fluent API'