set definition for operations with generic type parameters.