Revert "Disable type enforcement for properties with names equal to type names."

This reverts commit 4a09465a9d8b39c93ae81d09c117e8140521461a.

Change-Id: I304cf9f6097dfb5383680bf32ae96043e41e4534