Added defaults to render method