Make the of() function public/visible LOXI-54

Reviewer: @andi-bigswitch @vaterlaus

Needed for unit test