Add error codes.
Remove AL prefixes from the constants.