Remove unused classes.
Make the simulator actually work.