Allow setting an application name, event and category message file and rethrow an exception on failing to de-register.