Make path an optional parameter.