Add UUIDs in ws_object

Added UUID support in ws_object including callbacks (and
NULL-initialization in non-ws_object types).