Add randomize_shortlink method