Add support comparable type constraints for scalar values