Adds closures to Runnable.