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

Fixed compile errors following addition of VisibleScope.