Fixed compile errors following addition of VisibleScope.
Merge pull request #63 from maksimov/develop

Fixed compile errors following addition of VisibleScope.