exposed CreateInstance and QueryInterface