Add missing init methods, make function public