Do we really need to do all this stuff? Or can we just put those directly into the `EntitySpec.configure(map)` which has some similar looking code?