Updating doc to enum classes