Fixed visibility warnings