Fixed error message for StaticAccess, fixes #169.
Merge pull request #226 from jyggen/patch-1

Fixed error message for StaticAccess