This makes options structs and application structs much simpler to inject. Reviewed-by: Tuo Shan <shantuo@google.com>