@psliwa can you look into this? Basically, my idea is that changing metadata after initialization can lead to very unexpected results, and therefore requires either a new `EntityManager` instance or clearing it.