BZ 1026402 Adding getObject() to UpdateCommand and minor corrections to \*Command classes
(cherry picked from commit 06545695d8dd739ad0ab58638e2028ccc4377165)