Changed the declaration default access specifier to be public.

This fixes some problems with CheckIgnoredDeclsPass that ignores declarations that are not public, which .