Adds two methods to get and set property values using dot-separated keys.