Fix dot-syntax message inconsistency.

Property dot-syntax used for non-property method despite different
syntax used in the same method.
Merge pull request #370 from modocache/fix-dot-syntax-inconsistency

Fix dot-syntax message inconsistency.