Add custom exceptions.