Added ability to reference locally imported defs w/in beget.