Simplify showSamples() signature.