Fixed bug where addProperties had not been exported