Correcting code errors in docs.