This makes the representation subclassing work using astropy/astropy#2691