Fix errors in labhead module.