This is needed to integrate directly with TaskEmbedder. Change-Id: Icb685a711011b997f7e2a02013029cf4bdbef76f