Box now has solveLayout as a method.