Added another construction mechanism that uses RunnableFactory.