Fix documentation.
Compress code.
Use constants.