Optimized the code for bug #288083 and make it handle more cases. Now Package
instances have 'visible' and 'masks' attributes, since this information needs
to be accessed in more places now.

svn path=/main/trunk/; revision=14859
4 files changed