Removed extern ws_object_type_id
Fixed typo