fixed "optional" hint to MethodView