Add some custom exceptions.