Updated for v5 host.