Fixed most bugs with CodeObject being Nameable (still some doctests
failing)