add restorefromconfigrationstring interface.