Fixed the type parameter to avoid overly-constraining the type.