Tweaking the runnable task for Samples.