Inherit type infomation to original regster