Add int and float value attributes.