Added hurdle registration and generalised error_partial