Removed passing  to internal render functions.