Add support for taxonomy terms

Can you give me a code example. I don't have an entity yet here, so I can't look at the entity properties.