Added magic numbers to objects.
Updated for loop and isObject macro.