Added Name to ResourceCreated
Added invariants check