how to declare COM class?