actors: Add auto-init feature to actors.