Fix a use of a generic type in Temporal