More documentation of code.