Fix setApiVersion typo