pass options to api renderer as well