Parse bitfields as enumerations
Make better documented docstrings