That was not really necessary. Instead of this unnecessary config option I should use existing code.