Adding functions to Processor class