Allow configuration of api version