Add #random to APIs