Redefine Dates.recur signature

This change removes sphinx's confusion by the type parameter in function
signature