Added macro for adding associated properties to objects.
Removed unused method.
Converted the array of table headers to use the new associated properties macro.