Fixed warnings about CLS compliancy.