Are IPO underwriters paid for the services they provide?

Are IPO underwriters paid for the services they provide?