Corrected some incorrect code examples