Add ufunc with pre-provided loop. Cleanup.