Modified ac-sage-repl-methods-init.