allow to register CustomTypes