diff --git resources/taxonomy_resource.inc resources/taxonomy_resource.inc
index d0790d6..cba503f 100644
--- resources/taxonomy_resource.inc
+++ resources/taxonomy_resource.inc
@@ -74,6 +74,7 @@ function _taxonomy_resource_definition() {
             'name' => 'tid',
             'optional' => FALSE,
             'source' => array('path' => 0),
+            'type' => 'int',
           ),
         ),
         'access callback' => '_taxonomy_resource_access',
@@ -187,6 +188,7 @@ function _taxonomy_resource_definition() {
             'name' => 'vid',
             'optional' => FALSE,
             'source' => array('path' => 0),
+            'type' => 'int',
           ),
         ),
         'access callback' => '_taxonomy_resource_access',
@@ -217,7 +219,7 @@ function _taxonomy_resource_definition() {
               'source'       => 'data',
               'default value' => 0,
               'optional'     => TRUE,
-            ), 
+            ),
             array(
               'name'         => 'maxdepth',
               'type'         => 'int',
@@ -244,7 +246,7 @@ function _taxonomy_resource_definition() {
  * @see taxonomy_get_term().
  */
 function _taxonomy_term_resource_retrieve($tid) {
-  return taxonomy_get_term($tid);
+  return taxonomy_term_load($tid);
 }
 
 /**
@@ -336,11 +338,11 @@ function _taxonomy_vocabulary_resource_retrieve($vid) {
  * @return
  *   Status constant indicating if vocabulary was inserted or updated.
  *
- * @see taxonomy_save_vocabulary().
+ * @see taxonomy_vocabulary_save().
  */
 function _taxonomy_vocabulary_resource_create($vocabulary) {
-  $vocabulary = (array) $vocabulary;
-  return taxonomy_save_vocabulary($vocabulary);
+  $vocabulary = (object) $vocabulary;
+  return taxonomy_vocabulary_save($vocabulary);
 }
 
 /**
@@ -353,11 +355,11 @@ function _taxonomy_vocabulary_resource_create($vocabulary) {
  * @return
  *   Status constant indicating if vocabulary was inserted or updated.
  *
- * @see taxonomy_save_vocabulary().
+ * @see taxonomy_vocabulary_save().
  */
 function _taxonomy_vocabulary_resource_update($vid, $vocabulary) {
-  $vocabulary = (array) $vocabulary;
-  $vocabulary['vid'] = $vid;
+  $vocabulary = (object) $vocabulary;
+  $vocabulary->vid = $vid;
   return _taxonomy_vocabulary_resource_create($vocabulary);
 }
 
@@ -372,7 +374,7 @@ function _taxonomy_vocabulary_resource_update($vid, $vocabulary) {
  * @see taxonomy_del_vocabulary().
  */
 function _taxonomy_vocabulary_resource_delete($vid) {
-  return taxonomy_del_vocabulary($vid);
+  return taxonomy_vocabulary_delete($vid);
 }
 
 
@@ -399,12 +401,12 @@ function taxonomy_service_get_tree($vid, $parent = 0, $max_depth = NULL) {
  *
  * @see
  *   taxonomy_select_nodes().
- * @return 
+ * @return
  *   An array of node objects.
  */
 function taxonomy_service_select_nodes($tid = '', $pager = TRUE, $limit = FALSE,  $order = array('t.sticky' => 'DESC', 't.created' => 'DESC')) {
   $result = taxonomy_select_nodes($tid, (bool)$pager, $limit, $order);
-  foreach($result as $nid) {  
+  foreach($result as $nid) {
     if ($uri = services_resource_uri(array('node', $nid))) {
       $node = node_load($nid);
       $node->uri = $uri;
