Added missing error param to default transform callback.