Fix: Remove unused variable

Variable `$config` is not used within factory.