Fixing issue with properties already defined in a given object. Closes #18.