[CORE] Add free function for value