Two bugs were fixed (one in generic method call and another in code
running app with generic methods).