#1166 Changed visibility from protected to public

I hope I'm doing it right