Improve error message thrown by Peek() for unsupported types.