Added wrap parameter.