Add support for automatically created anonymous definitions.