Small optimization to Typography and sample config fix.