Moved variable related commands to the variable API module.