Add computed properties to JavaScript objects.