Making the render method call compatible with the parent.