added "optional" hint to MethodView