[Core] Refactoring improve coerce part.