Add wrapper classes to wrap COM functions.