Utility function to set many properties at once according to a map.
Authored by: computerguy5 2011-01-18
Parent: [r48]
Child: [r50]