Add pool arg handling to parser