Added shield to the objectfactory