Performance improvements, updating examples.