I think we always turn nested defs off.
Is there a good reason why?
If we make this an always-off behavior, there's a good amount of code to delete.