Getting instances by definition name