Adding option to add a Map of custom properties

It's nice to just pass a map of custom options in, instead of calling several times the current ``addCustomProperty()``