Fixed examples in doc strings to reflect how we are actually doing things now.