Make two functions public.

I think Dan want to write the register directly. Please be careful to
use those.