Fix mistake in previous commit

I accidentally introduced an incorrect `public` specifier by using
a naive find and replace