Converted all processors to functional paradigm