Added flags for ownership