Update sample code and remove whitespace.