d3: Got rid of implicit any errors.

Signed-off-by: Ben Jackman <ben@jackman.biz>