Fix date class collision.

[Fixes #20]