Fixed issues with generation of code for Hadoop.
Todo: Go-match support & statistics.