Added more sample code.