Added GetInstances stub and fixed bugs