Documentation and minor changes.