Fix for #721, plus adds support for more cases of calling static code from repl.
Fix for #721, plus adds support for more cases of calling static code from repl.

carp-lang/Carp,carp-lang/Carp,eriksvedang/Carp,carp-lang/Carp,eriksvedang/Carp