This isn't handling `Date` properly, but I'll patch it up.