Sample registration.