A few more changes to code samples in the dev guide

author: diane fleming