Refactor taxonomy creation process.