Added support for varargs, script context injections and console inject.