Add more scripting helpers