Made dates optional.