Make coordinate.py compatible with astropy.