Moved render attributes into object