Added "renderComplete" method