Example errors in docs fixed