Added cpickle serialisation