add handling of access modifiers on properties
Merge pull request #140 from mexx/fix-137

add handling of access modifiers on properties