Fix time

fix breakages due to Time being a newtype now.