Added a variable_new_deserialize_buffer() function
Code cleanup