Adds priv qualifiers where they have been commented out before implementation.

Updates #4386.