Makes value argument of prepare_expires optional