Add frandom support