Added compilation support for multiple classes