Restore variable input format system
Implement some basic data conversion