Add support for renaming types and enum constants

Fixes #6
Release v1.6