XML doc comments, change data types to enums where possible