Added render state support.