Wildcard specific optimization.