Rename "factory" to "definition".