Fix order for startup events.
Another bugfix for the event order.
compat: Fix attribute name for hosts.