Make plugin registry optional