Move raw_value to protected method