Adjusted some of the examples and added comments.