Is this supposed to be a kind of "lazy registration pattern"? How expensive is this operation?