removed some deprecation warnings in *Datums.