For some functions, like the ones related to state variables, it would be beneficial to add specialized versions for some elements, allowing both an integer index or the related enum value.
This would encourage users to use the enums and serves as some documentation.