How to use class object as parameter in Drupal7 Batch processing

My code as is:

 

foreach ($some as $one){
    $batch['operations'][] = array(
        'processing_function_name',
        array($this, $other_arguments),
    );     
}

batch_set($batch);


processing_function_name(Classname $object, $other_arguments, &$context){
    $object->call_function($other_arguments);
}

The error is: processing_function_name(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition “Classname” of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in …..

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/4/feed