0.90.0 updates.

This is a minimal set of updates to make DMagic compatible with 0.90.0.