Change GetObjectVariances to accept object parameters instead of dynamic parameters