refac document