r10026: Move registry header file to lib/registry