Refining menu generation.