Added migration to documents