Fixing some problems with simulating character data.