Merge class attributes into object environment