Code cleaning and updating examples files.