Enabling warnings and restricting symbol visibility