Added userestrict/@type to @localtype