Move reducer based parallel code to separate namespace