During my wordpress theme's functions.php, I have produced a custom publish type known as foobar. Can you really re-make use of the default groups and tags for foobar posts? Or must i create two taxonomies Body for groups and also the other for tags - to do this?

EDIT: I believe I have solved this applying this code inside the function that produces the custom publish type:

register_taxonomy_for_object_type('category', 'foobar');
register_taxonomy_for_object_type('post_tag', 'foobar');