Adding proper visibility declarations.