Module re-org for decode functions.

Also includes an Exceptions module update/rework.