Some accessor functions for completion in the REPL.