Clean up mirror/object

Refactor some boiler plate code.

Test: test-art-host

Change-Id: Id45fab759798c2447a2d979c1fcbd50e18241021
5 files changed