Add basic methods for index, show, update, and flag.