Add extra arguments to solve()