Added extension to exceptions.