Added option to rename type using fluent api.