Examples formatting refactoring