Support basic types (bool, number) as replacements.