Various fixes to lab.