Remove uneeded argument in some sample code.