Removes unnecessary  declaration in the get_value() method.