Fixed error message for StaticAccess, fixes #169.