rework entity creation a little so every passes through entity/index.js and there's where config is applied