Fixed agent generation.