Turn api into user set variable.