Add typed expression to api