Some object-oriented tricks with rendering objects.