Added parentObject in custom initializer