Migration helpers class attrs fix