Remove value deprecation warning

Replace value with @value due to deprecation.