PRIS-1147: Corrections to unity for mock generation.