Fixing trial level registration.