Add flags attribute to guides.