Add new doctrine processors

if you really want to make this configurable, you should check this before the loop, as it does not depend on the loop itself