Added some rendering stuff.