Improved add-property functionality