Add paramaters to constructor of ReplaceEggVisitor