While working on #8304 I noticed this method was added and marked as API. If someone overwrites it, the method
getModule() can break. We should only allow to call this method but not to overwrite it as otherwise other features can break. I did not include it in #8304 as I did not want to have a breaking change in 2.14.2 even though
Dimension won't be in use by plugins anyway.