Type validation and codeFixes in core