Add access_flags attribute to ndobject