Remove custom exception types.