A few fixes and improvements to the sandbox framework and the literal_expression sandbox demo