Add instance metadata functionality to trove