First version of derivatives for amdps.  Adam: They will be a separate object,
as you've been asking for.