Adding class methods to doppler wcs