Fix everything.

Next step, documentation.