Extract visibility condition from project statement and use visible scopes instead.
Authored by: jplang 2011-04-12
Parent: [r5441]
Child: [r5443]