Adding working example with generic methods via reflection.