Building proto/register.