Added multiprocesing support to registration