Added recording parameter.