Add plugin infrastructure.