Make sure resource_pool_id is a string.
Remove unnecessary wrapper function.