Any reason why you delete these lines? Seems like they are used when approval workflow is not being used