Adapted doc as well.