Changes getContent to use optional params