Need a warning about this in galsim/base.py?