Add function to construct a well-formed 'RegisterIndex'.