Changed Doctrine Registry to PIM Smart Registry