Add og_group_ref field to make document a group post type and add install hook for pathauto