[Taxonomy] Added constants about types, fixed type bug