Added process method.
Added add_process function.