Add missing code to value attributes