Corrected typo in sample code.