Removed optional parameter to support backwards compatibility.