Return $params if successful.