Some cleaning and documenting done.