Add missing visibility declarations