Clarified example code in docs