Allow to customize the creation of object during deserialization.