Changed MigrationReference to be nullable
Added groups