Fix syntax error in sample code.