More documentation and QC fixes