Change sochild view to use type registration pattern.