Mock generation optimizations.