host activator refactoring