Fixed language arg counting bug.
Fixed issue where all messages in a class would not be registered.