Sauté diced ham and finely chopped onion in 2tablespoons butter until onion begins to take on colour. Combine with cooked peas and warm cream, and season to taste with salt and freshly ground black pepper. Pour mixture into a well-buttered casserole; sprinkle with freshly grated cheeses; dot with b