Apply formatting.